﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E53 RID: 3667
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueArcadeLeaveScRsp : IMessage<RogueArcadeLeaveScRsp>, IMessage, IEquatable<RogueArcadeLeaveScRsp>, IDeepCloneable<RogueArcadeLeaveScRsp>, IBufferMessage
	{
		// Token: 0x17002EA1 RID: 11937
		// (get) Token: 0x0600A4B4 RID: 42164 RVA: 0x001BBF29 File Offset: 0x001BA129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueArcadeLeaveScRsp> Parser
		{
			get
			{
				return RogueArcadeLeaveScRsp._parser;
			}
		}

		// Token: 0x17002EA2 RID: 11938
		// (get) Token: 0x0600A4B5 RID: 42165 RVA: 0x001BBF30 File Offset: 0x001BA130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueArcadeLeaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002EA3 RID: 11939
		// (get) Token: 0x0600A4B6 RID: 42166 RVA: 0x001BBF42 File Offset: 0x001BA142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueArcadeLeaveScRsp.Descriptor;
			}
		}

		// Token: 0x0600A4B7 RID: 42167 RVA: 0x001BBF49 File Offset: 0x001BA149
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeLeaveScRsp()
		{
		}

		// Token: 0x0600A4B8 RID: 42168 RVA: 0x001BBF54 File Offset: 0x001BA154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeLeaveScRsp(RogueArcadeLeaveScRsp other) : this()
		{
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A4B9 RID: 42169 RVA: 0x001BBFA0 File Offset: 0x001BA1A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeLeaveScRsp Clone()
		{
			return new RogueArcadeLeaveScRsp(this);
		}

		// Token: 0x17002EA4 RID: 11940
		// (get) Token: 0x0600A4BA RID: 42170 RVA: 0x001BBFA8 File Offset: 0x001BA1A8
		// (set) Token: 0x0600A4BB RID: 42171 RVA: 0x001BBFB0 File Offset: 0x001BA1B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x17002EA5 RID: 11941
		// (get) Token: 0x0600A4BC RID: 42172 RVA: 0x001BBFB9 File Offset: 0x001BA1B9
		// (set) Token: 0x0600A4BD RID: 42173 RVA: 0x001BBFC1 File Offset: 0x001BA1C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600A4BE RID: 42174 RVA: 0x001BBFCA File Offset: 0x001BA1CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueArcadeLeaveScRsp);
		}

		// Token: 0x0600A4BF RID: 42175 RVA: 0x001BBFD8 File Offset: 0x001BA1D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueArcadeLeaveScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A4C0 RID: 42176 RVA: 0x001BC028 File Offset: 0x001BA228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A4C1 RID: 42177 RVA: 0x001BC07D File Offset: 0x001BA27D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A4C2 RID: 42178 RVA: 0x001BC085 File Offset: 0x001BA285
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A4C3 RID: 42179 RVA: 0x001BC090 File Offset: 0x001BA290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A4C4 RID: 42180 RVA: 0x001BC0EC File Offset: 0x001BA2EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A4C5 RID: 42181 RVA: 0x001BC144 File Offset: 0x001BA344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueArcadeLeaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new ABFBLEKMNME();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A4C6 RID: 42182 RVA: 0x001BC1AC File Offset: 0x001BA3AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A4C7 RID: 42183 RVA: 0x001BC1B8 File Offset: 0x001BA3B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueTournCurSceneInfo_ == null)
						{
							this.RogueTournCurSceneInfo = new ABFBLEKMNME();
						}
						input.ReadMessage(this.RogueTournCurSceneInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004307 RID: 17159
		private static readonly MessageParser<RogueArcadeLeaveScRsp> _parser = new MessageParser<RogueArcadeLeaveScRsp>(() => new RogueArcadeLeaveScRsp());

		// Token: 0x04004308 RID: 17160
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004309 RID: 17161
		public const int RogueTournCurSceneInfoFieldNumber = 15;

		// Token: 0x0400430A RID: 17162
		private ABFBLEKMNME rogueTournCurSceneInfo_;

		// Token: 0x0400430B RID: 17163
		public const int RetcodeFieldNumber = 10;

		// Token: 0x0400430C RID: 17164
		private uint retcode_;
	}
}
